<h2>
	<?php echo CHtml::image(Util::getImageExist("avatar", (($member->sex == SEX_BOY) ? ICONBOY : ICONGIRL)), "avatar",  array('title' => (($member->sex == SEX_BOY) ? TITLE_BOY : TITLE_GIRL)));?>
	<?php echo Util::formatFullName(CHtml::encode($member->fullname));?>
</h2>
<?php $age = Util::getAge(CHtml::encode($member->birthday));?>
<sub><?php echo ($age != '') ? ('(' . $age . ' tuổi)') : null;?></sub>
<div>
	<table>
		<tr>
			<td><strong><?php echo CHtml::encode($member->getAttributeLabel('cmnd'))?></strong></td>
			<td><b><?php echo CHtml::encode($member->cmnd);?></b></td>
		</tr>
		<tr>
			<td><strong><?php echo CHtml::encode($member->getAttributeLabel('birthday'))?></strong></td>
			<td><?php echo CHtml::encode($member->birthday);?></td>
		</tr>
		<tr>
			<td><strong><?php echo CHtml::encode($member->getAttributeLabel('birthplace'))?></strong></td>
			<td><?php echo CHtml::encode($member->birthplace);?></td>
		</tr>
		<tr>
			<td><strong><?php echo CHtml::encode($member->getAttributeLabel('phone'))?></strong></td>
			<td><?php echo Util::formatPhone(CHtml::encode($member->phone));?></td>
		</tr>
		<tr>
			<td><strong><?php echo CHtml::encode($member->getAttributeLabel('cellphone'))?></strong></td>
			<td><?php echo /*Util::formatPhone*/(CHtml::encode($member->cellphone));?></td>
		</tr>
		<tr>
			<td><strong><?php echo CHtml::encode($member->getAttributeLabel('email'))?></strong></td>
			<td><?php echo CHtml::encode($member->email);?></td>
		</tr>
		<tr>
			<td><strong><?php echo CHtml::encode($member->getAttributeLabel('address'))?></strong></td>
			<td><?php echo CHtml::encode($member->address);?></td>
		</tr>
		<tr>
			<td><strong><?php echo CHtml::encode($member->getAttributeLabel('contact_address'))?></strong></td>
			<td><?php echo CHtml::encode($member->contact_address);?></td>
		</tr>
		<?php if (isset($courseActive)) :?>
		<tr>
			<td><strong><?php echo $courseActive->getAttributeLabel('id')?></strong></td>
			<td><code class="studentship"><?php echo $courseActive->id;?></code></td>
		</tr>
		<?php endif;?>
		<tr>
			<td colspan="2">&nbsp;</td>
		</tr>
	</table>
</div>
